<?php
namespace app\api\validate;
/** 
* Document
*/
class PageParam extends Base {
    protected $rule = [
        'page' => 'isPosInt',
        'size' => 'isPosInt|between:5,20'
    ];
    protected $message = [
        'page' => '当前页码必须为正整数',
        'size' => '每页数量必须介于5~20之间'
    ];
}